let https = require("https");
let fs = require('fs');
let options = {
  pfx:fs.readFileSync('./keys/server.pfx'),
	passphrase:'sfbrywj1223'
}
let server = https.createServer(options,function (request, response) {
    console.log('get request');
    response.writeHeader(200,{'Content-Type': 'text/html'})
    response.end('https success');
});

server.listen(443,'0.0.0.0');
console.log('https server start');